package com.hehui.module.goods.dao;


import com.hehui.module.goods.entity.GoodsLadderPrice;
import com.hehui.module.goods.entity.GoodsLadderPriceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 阶梯价mapper
 */
public interface GoodsLadderPriceMapper {
    long countByExample(GoodsLadderPriceExample example);

    int deleteByExample(GoodsLadderPriceExample example);

    int deleteByPrimaryKey(Long glLadderid);

    int insert(GoodsLadderPrice record);

    int insertSelective(GoodsLadderPrice record);

    List<GoodsLadderPrice> selectByExample(GoodsLadderPriceExample example);

    GoodsLadderPrice selectByPrimaryKey(Long glLadderid);

    int updateByExampleSelective(@Param("record") GoodsLadderPrice record, @Param("example") GoodsLadderPriceExample example);

    int updateByExample(@Param("record") GoodsLadderPrice record, @Param("example") GoodsLadderPriceExample example);

    int updateByPrimaryKeySelective(GoodsLadderPrice record);

    int updateByPrimaryKey(GoodsLadderPrice record);
}